<div class="heading">
    <div class="left_heading"></div>
                                
    <div class="content_heading">
        <h3>Sửa bài bình luận</h3>
    </div>
                                
    <div class="right_heading"></div>
</div><!-- End .heading -->

<div class="main_content">
    <form name="myform" action="" enctype="multipart/form-data" method="post">  
        <input type="hidden" name="news_plaintext" id="news_plaintext" />    
        <table class="table_content">
			<tr >
                <td class="label"><label for="news_title">Tên người viết</label></td>
				<td class="label2"><?php echo $this->data['fullname']; ?></td>
                <td>&nbsp;</td>
            </tr>
            <tr >
                <td class="label"><label for="news_title">Tên tour du lịch</label></td>
				<td class="label2"><?php echo $this->data['tour_name']; ?></td>
                <td>&nbsp;</td>
            </tr>
            <tr >
                <td class="label"><label for="news_title">Ngày tạo</label></td>
                <?php $create_date = strtotime($this->data['create_date']); ?>
				<td class="label2"><?php echo date('d/m/Y H:i:s', $create_date); ?></td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="label"><?php echo $this->formLabel('status','Trạng thái',array('class'=>'label')) ;?><span class="msg"> * </span></td>
                <td >
                    <?php
                    echo $this->formSelect('status',$this->data['status'],array('id'=>'status','class'=>'input'),array('1'=>'Hiển thị','0'=>'Ẩn đi'));
                    ?>
                </td>
            </tr>
            <tr >
                <td class="label"><label for="term">Nội dung</label><span class="msg"> * </span></td>
				<td class="label2"><span><?php echo $this->formTextarea('term', $this->data['term'], array('id' => 'term',)); ?></span></td>
                <td><span class="msg" id="errorNewsContent"><?php echo $this->errorTerm; ?></span></td>
            </tr>
            <tr>
				<td class="label3">&nbsp;</td>
				<td colspan="2">&nbsp;</td>
	      	</tr>
            <tr>
           	     <td class="label3"></td>
			     <td><input class="button" type="submit" name="submit" value="Cập nhật"/>
		             <input class="button" type="reset" name="reset" value="Nhập lại"/>
				     <a href="<?php echo $this->baseUrl('admin/news'); ?>" class="button" style="padding-top: 7px;">Quay lại</a>
                 </td>
            </tr>
        </table>
    </form>
</div><!-- End .main_content -->  